<?php


namespace App\Controller\api\v1;

use App\Common\Res;
use App\Controller\AbstractController;
use App\Rpc\client\impl\DeviceImpl;
use Hyperf\Utils\ApplicationContext;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;

class ReplyController extends AbstractController
{
    use Res;

    /**
     * 获取快捷回复数据
     * @return array
     * @throws ContainerExceptionInterface
     * @throws NotFoundExceptionInterface
     */
    public function selectList(): array
    {
        $params = $this->request->all();



        return [];
    }

    /**
     * 新增
     * @return array
     * @throws ContainerExceptionInterface
     * @throws NotFoundExceptionInterface
     */
    public function add(): array
    {
        $params = $this->request->all();
        $res['code'] = 200;

        //basic
        //type
        //content
        //id

        return $res;
    }
    /**
     * 删除
     * @return array
     * @throws ContainerExceptionInterface
     * @throws NotFoundExceptionInterface
     */
    public function delete(): array
    {
        $params = $this->request->all();
        $res['code'] = 200;

        return $res;
    }

    /**
     * 修改
     * @return array
     * @throws ContainerExceptionInterface
     * @throws NotFoundExceptionInterface
     */
    public function update(): array
    {
        $params = $this->request->all();
        $res['code'] = 200;

        //basic
        //type
        //content
        //id

        return $res;
    }







}